# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=capa
pkgver=7.4.0
pkgrel=1
pkgdesc="The FLARE team's open-source tool to identify capabilities in executable files."
arch=('any')
groups=('blackarch' 'blackarch-defensive')
url='https://github.com/mandiant/capa'
license=('Apache-2.0')
depends=()
makedepends=()
source=("https://github.com/mandiant/capa/releases/download/v$pkgver/capa-v$pkgver-linux-py312.zip")
sha512sums=('c9f3f8f6f219bd93e8a46af4910a4011642fa1737889e09d40502aa613ffedb6773b5710317fbbb689ed69a5b7a4076df1d88ad21bbbeb2794befbef3b2d553d')

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

